package com.zw.transition.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zw.transition.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.util.Date;

/**
 * @Description: 日志各
 *
 * @Author: China.sgl
 * @Date: 2019/11/28 13:48
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Log extends BaseModel {

    private Integer id;

    /** 操作人帐号 */
    private String account;

    /** IP地址 */
    private String address;

    /** 操作人名称 */
    private String operator;

    /** 操作名 */
    private String title;

    /** 操作内容 */
    private String content;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date operTime;

}
